package mt;
import main.U;


public class BaiduMT extends C2EMT {

	public static String label = "Baidu";

	public String translate(String query) throws Exception {
		query =U.preprocessStrForHttptransmition(query);
		return segment(U.getHTMLSource("http://nc116x.corp.youdao.com:50429/mt2/baiduc2e?q="+query));
	}
	
	public static void main(String[] args) throws Exception {
		System.out.println(new BaiduMT().translate("我们要超过百度！"));
	}
	
}